﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
using lakethaiClassLibrary;

public partial class home_aboutus : BasePage
{
    protected string welcomeTitle = string.Empty, welcomeDetails = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = Resources.header.aboutusTitle;
        this.GetWelcomeContent();
    }
    private void GetWelcomeContent()
    {
        SqlParameter[] param ={new SqlParameter("id","2"),
                                 new SqlParameter("lang",HttpContext.Current.Session["lancode"].ToString())
                             };
        DataTable dt = myDataBinding.GetData("_introductionGetItemForShow", param);
        try
        {
            this.welcomeTitle = dt.Rows[0][0].ToString();
            this.welcomeDetails = dt.Rows[0][1].ToString();
        }
        catch { }
    }
}
